package org.xxpay.core.service;

import com.alibaba.fastjson.JSONObject;
import org.xxpay.core.common.domain.api.msg.QueryRetMsg;
import org.xxpay.core.entity.RefundOrder;

public interface IXxPayPayService {

    /** 查询上游支付通道订单状态 **/
    QueryRetMsg queryChannelStatus(String payOrderId);

    /** 直付通接口 调起确认结算接口 **/
    void alizftTradeSettleConfirm(String alipayTradeNo, String payOrderId);

    /** 直付通接口 调起确认结算接口 (手动发起) **/
    void alizftTradeSettleConfirmRetry(Long recordId);


    /** 调起退款接口 (手动发起) **/
    JSONObject refundOrder(RefundOrder refundOrder);
}
